<template>
  <div>
    <!-- 轮播图 -->
    <mt-swipe :auto="3000">
      <mt-swipe-item v-for="item in lunboList" :key="item.id">
        <img :src="item.img" :class="{full: isfull}" />
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>

<script>
export default {
    data() {
      return {
        full: true
      }
    },
    props: ['lunboList','isfull']
}
</script>

<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
    text-align: center;
  .mint-swipe-item {

    img {
      //width: 100%;
      height: 100%;
    }
  }
}

.full{
    width: 100%;
}

/* .banner_img{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 200px;width: 100%;
} */
</style>